﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace BankProject.Models
{
    [DataContractAttribute]
    public class Review : BaseModel
    {
        private string bankName;
        [DataMemberAttribute]
        public string BankName
        {
            get
            {
                return bankName;
            }
            set
            {
                if (bankName != value)
                {
                    bankName = value;
                    NotifyPropertyChanged("BankName");
                }
            }
        }

        private int openWindows;
        [DataMemberAttribute]
        public int OpenWindows
        {
            get
            {
                return openWindows;
            }
            set
            {
                if (openWindows != value)
                {
                    openWindows = value;
                    NotifyPropertyChanged("OpenWindows");
                }
            }
        }

        private int closeWindows;
        [DataMemberAttribute]
        public int CloseWindows
        {
            get
            {
                return closeWindows;
            }
            set
            {
                if (closeWindows != value)
                {
                    closeWindows = value;
                    NotifyPropertyChanged("CloseWindows");
                }
            }
        }

        private int timeWaiting;
        [DataMemberAttribute]
        public int TimeWaiting
        {
            get
            {
                return timeWaiting;
            }
            set
            {
                if (timeWaiting != value)
                {
                    timeWaiting = value;
                    NotifyPropertyChanged("TimeWaiting");
                }
            }
        }

        private int queueLength;
        [DataMemberAttribute]
        public int QueueLength
        {
            get
            {
                return queueLength;
            }
            set
            {
                if (queueLength != value)
                {
                    queueLength = value;
                    NotifyPropertyChanged("QueueLength");
                }
            }
        }

        private bool check1;
        [DataMemberAttribute]
        public bool Checked
        {
            get
            {
                return check1;
            }
            set
            {
                if (check1 != value)
                {
                    check1 = value;
                    NotifyPropertyChanged("Check1");
                }
            }
        }
    }
}
